$OpenBSD: patch-extensions_browser_api_serial_serial_api_cc,v 1.7 2017/04/19 05:16:47 robert Exp $
--- extensions/browser/api/serial/serial_api.cc.orig.port	Fri Mar 10 10:04:21 2017
+++ extensions/browser/api/serial/serial_api.cc	Fri Mar 10 10:04:32 2017
@@ -86,11 +86,13 @@ bool SerialGetDevicesFunction::Prepare() {
 void SerialGetDevicesFunction::Work() {
   DCHECK_CURRENTLY_ON(BrowserThread::FILE);
 
+#if !defined(OS_BSD)
   std::unique_ptr<device::SerialDeviceEnumerator> enumerator =
       device::SerialDeviceEnumerator::Create();
   std::vector<device::serial::DeviceInfoPtr> devices = enumerator->GetDevices();
   results_ = serial::GetDevices::Results::Create(
       mojo::ConvertTo<std::vector<serial::DeviceInfo>>(devices));
+#endif
 }
 
 SerialConnectFunction::SerialConnectFunction() {
